package com.delayqueue.core.executor.impl;

import com.delayqueue.common.task.Task;
import com.delayqueue.core.executor.ExecuteResult;
import com.delayqueue.core.executor.Executor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class TestExecutor implements Executor {

    @Override
    public ExecuteResult execute(Task task) {
        log.info("执行业务逻辑");
        return new ExecuteResult();
    }
}
